package com.common.redis.vo;

import java.io.Serializable;

public class RedisVo implements Serializable{

	private static final long serialVersionUID = -1959528436584592183L;

	private String key;
	private Object value;
	
	public RedisVo(){
		
	}
	public RedisVo(String key,Object obj){
		this.key = key;
		this.value = obj;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public Object getValue() {
		return value;
	}
	public void setValue(Object value) {
		this.value = value;
	}
	
	@Override
	public String toString(){
		return "[key = "+this.key+",value = "+this.value+"]";
	}
}
